import { App } from 'vue'
import {
  ElButton,
  ElForm,
  ElFormItem,
  ElTabs,
  ElIcon,
  ElTabPane,
  ElInput,
  ElCheckbox,
  ElLink
} from 'element-plus';
// import 'element-plus/theme-chalk/base.css';
// import 'element-plus/dist/index.css'
const components = [
  ElButton,
  ElForm,
  ElFormItem,
  ElTabs,
  ElIcon,
  ElTabPane,
  ElInput,
  ElCheckbox,
  ElLink
];
export function regiterAppComponent (app: App): void {
  for (const component of components) {
    app.component(component.name, component);
  }
}